<%= error_messages_for 'bug' %>

<!--[form:bug]-->
<p><label for="bug_project_id">Project</label><br/>
<%= select 'bug', 'project_id', @project_options, :selected => @selected_project_id  %></p>

<p><label for="bug_priority">Priority</label><br/>
<%= text_field 'bug', 'priority', :size => 53 %></p>

<p><label for="bug_summary">Summary</label><br/>
<%= text_field 'bug', 'summary', :size => 53 %></p>

<p><label for="bug_description">Description</label><br/>
<%= text_area 'bug', 'description', :cols => 40, :rows => 6  %></p>

<% if @status_options -%>
<p><label for="bug_status_id" >Status</label><br/>
<%= select 'bug', 'status_id', @status_options, :selected => @bug.status.id  %></p>
<% end -%>
<!--[eoform:bug]-->